/*
 * SafetyCourseService.java
 * Copyright 2018 Qunhe Tech, all rights reserved.
 * Qunhe PROPRIETARY/CONFIDENTIAL, any form of usage is subject to approval.
 */

package com.bearox.trans.service;

import com.bearox.trans.data.dto.SafetyCourseDto;

import java.util.List;

/**
 * @author Bearox
 */
public interface SafetyCourseService {
    /**
     * 新增安全課程
     * @param safetyCourseDto
     * @return
     */
    int add(final SafetyCourseDto safetyCourseDto);

    /**
     * 获取课程列表
     * @param start
     * @param num
     * @return
     */
    List<SafetyCourseDto> getCourseList(final long start, final int num);
}
